package structure.decoration;

public class Milk extends Decorator {


    public Milk(Drink drink) {
        super(drink);
    }


    // 业务增强逻辑
    @Override
    public double calculateCost() {
        return drink.calculateCost()+2.0;
    }
}
